/**
 * 
 */
package qy.jalgotrade.broker.backtesting;

import qy.jalgotrade.broker.Order;

/**
 * A :class:`Commission` class that always returns 0.
 * 
 * @author qy
 *
 */
public class NoCommission extends Commission {

	/*
	 * (non-Javadoc)
	 * 
	 * @see qy.jalgotrade.broker.backtesting.Commission#calculate(qy.jalgotrade.broker.Order,
	 * double, double)
	 */
	@Override
	public double calculate(Order order, double price, double quantity) {

		return 0.0;
	}
}
